package com.baigu.product.dao.mapper;

import com.baigu.product.dao.model.BgProductSku;
import com.baigu.product.dao.model.BgProductSkuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BgProductSkuMapper {
    long countByExample(BgProductSkuExample example);

    int deleteByExample(BgProductSkuExample example);

    int deleteByPrimaryKey(String id);

    int insert(BgProductSku record);

    int insertSelective(BgProductSku record);

    List<BgProductSku> selectByExample(BgProductSkuExample example);

    BgProductSku selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BgProductSku record, @Param("example") BgProductSkuExample example);

    int updateByExample(@Param("record") BgProductSku record, @Param("example") BgProductSkuExample example);

    int updateByPrimaryKeySelective(BgProductSku record);

    int updateByPrimaryKey(BgProductSku record);
}